<template>
  <div
    class="
      hoursMainInfo
      marginBottom15
      info_containerPadding info_containerBacInfoStyle
    "
  >
    <h1 class="mainTitleFont">24小时预报</h1>
    <div class="hoursInfoItem">
      <HoursInfo
        v-for="(item, index) in hoursInfoData"
        :key="index"
        :hoursInfo_data="item"
      />
    </div>
  </div>
</template>

<script>
import HoursInfo from "../../common/hoursInfo/HoursInfo";
//
import { mapState } from "vuex";
export default {
  name: "hoursMainInfo",
  components: {
    HoursInfo,
  },
  data() {
    return {};
  },
  computed: {
    ...mapState(["hoursInfoData"]),
  },
  methods: {},
};
</script>

<style scoped>
.hoursMainInfo {
  width: 100%;
  height: auto;
}
.hoursInfoItem {
  overflow-y: hidden;
  display: flex;
  padding-bottom: 0.2rem;
}
</style>